import  httpInstance  from '@/utils/http'
export function getBannerAPI (){
  return httpInstance({
    url:'/home/banner'
  });
}
export function getHotAPI  ()  {
  return  httpInstance({
    url:'/home/hot'
  })
}
export function getNewAPI ()  {
  return httpInstance({
    url:'/home/new'
  })
}
export const getGoodsAPI = (id) => {
  return httpInstance({
    url: `/goods/${id}`
  })
}

